﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CodeCreator.Template
{
    [Serializable]
    public class TypeMap
    {
        public TypeMap() { }

        public TypeMap(string dbType, string cSharpType, string codeType, string jsType)
        {
            this.cSharpType = cSharpType;
            this.dbType = dbType;
            this.classType = codeType;
            this.jsType = jsType;
        }

        private string dbType;

        public string DbType
        {
            get { return dbType; }
            set { dbType = value; }
        }

        private string cSharpType;

        public string CSharpType
        {
            get { return cSharpType; }
            set { cSharpType = value; }
        }
        
        private string classType;

        public string ClassType
        {
            get { return classType; }
            set { classType = value; }
        }
        private string jsType;

        public string JsType
        {
            get { return jsType; }
            set { jsType = value; }
        }
    }
}
